home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / gopher / Unix / gopher-gateways / techinfo / techinpher / v1.0 / Makefile < prev    next >
Encoding:
Makefile  |  1993-02-28  |  801 b   |  31 lines

  1. CFLAGS = -DSERV -DTEST -DDECMIPS -g
  2.  
  3. TECHINPHER_SOURCES=\
  4.  transact.c server.c datastruct.c glob.c util.c inet.c netio.c gopherchild.c
  5. techinpher_objs=\
  6.  transact.o server.o datastruct.o glob.o util.o inet.o netio.o gopherchild.o
  7.  
  8. HELPER_SOURCES = techinpher-helper.c inet.c
  9. helper_objs=     techinpher-helper.o inet.o
  10.  
  11. SOURCES=$(HELPER_SOURCES) $(TECHINPHER_SOURCES) 
  12.  
  13. all: techinpher techinpher-helper
  14.  
  15. techinpher: $(techinpher_objs)
  16.     cc -o techinpher $(techinpher_objs)
  17.  
  18. techinpher-helper: $(helper_objs)
  19.     cc -o techinpher-helper $(helper_objs)
  20.  
  21. clean:
  22.     rm -f *.o  *~  techinpher techinpher-helper core
  23.  
  24. depend:
  25.         makedepend $(CFLAGS) $(SOURCES)
  26.         @echo "" >> Makefile
  27.         @echo -n "# Last dependency update: " >> Makefile
  28.         @date >> Makefile
  29.  
  30. # DO NOT DELETE THIS LINE -- make depend depends on it.
  31.